Number Array Upgrade



Average Using Position
Average Using Binary Search


This is the average number of times it took to find the random target number by checking it against every number in the array of 5000 until it was found.



This is the average number of times it took to find the random target number by checking it against the middle of the array. If it is not equal to the middle, it goes to the middle between the middle and the end. It repeats this process until the target number location is found.